package com.example.blogindex.web.Fengin;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xpd.blog.bean.Article;
import com.xpd.blog.bean.Comment;
import com.xpd.blog.bean.Result;
import com.xpd.blog.bean.Typeinfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Component
public class OtherFenginImpl implements OtherFengin{
    Result articles;
    List<Typeinfo> typeinfoList;
    @Override
    public Result getAllArticle(Article article, int page, int size) {
        return articles;
    }



    @Override
    public List<Typeinfo> getAllType() {
        return typeinfoList;
    }

    @Override
    public Result getAlltypeBypage(int page, int size, String serachUname) {
        return null;
    }

    @Override
    public Result addType(String searchUname) {
        return null;
    }

    @Override
    public Result delType(int tid) {
        return null;
    }

    @Override
    public Result updateType(Typeinfo typeinfo) {
        return null;
    }

    @Override
    public List<Article> getNewBlog() {
        return null;
    }

    @Override
    public  Result getArtByType(Article article, int page, int size, int tid) {
        return null;
    }

    @Override
    public Result getArtByid(int aid) {
        return null;
    }

    @Override
    public Result getAdmire(int usid) {
        return null;
    }

    @Override
    public Result getMyBlog(int usid,  int page,  int size, int status) {
        return null;
    }

    @Override
    public Result delMyBlog(int aid) {
        return null;
    }

    @Override
    public Result updateArticle(Article article) {
        return null;
    }

    @Override
    public Result getBlogByType(int aid, int tid) {
        return null;
    }

    @Override
    public Result getAdminAllArticle(Article article, int page, int size, int tid, String endDate,String startDate, String searchUname) {
        return null;
    }

    @Override
    public Result statusByusid(Article article, int status) {
        return null;
    }

    @Override
    public Result guan(int usid, int uid) {
        return null;
    }

    @Override
    public Result guanzhu(int usid, int uid) {
        return null;
    }

    @Override
    public Result quguanzhu(int usid, int uid) {
        return null;
    }

    @Override
    public Result getFans(int usid) {
        return null;
    }

    @Override
    public Result getAttention(int usid) {
        return null;
    }

    @Override
    public Result getAllFans(int usid, int page, int size) {
        return null;
    }

    @Override
    public Result getAllAttention(int usid, int page, int size) {
        return null;
    }

    @Override
    public Result selectfired(int usid) {
        return null;
    }

    @Override
    public List<Comment> selectByid(int bid) {
        return null;
    }

    @Override
    public Result insertComment(Comment comment, int usid, int bid) {
        return null;
    }

    @Override
    public Result addArticle(Article article) {
        return null;
    }

    @Override
    public Result draftArticle(Article article) {
        return null;
    }

    @Override
    public Result selectFav(int usid, int aid) {
        return null;
    }

    @Override
    public Result addFav(int usid, int aid) {
        return null;
    }

    @Override
    public Result delFav(int usid, int aid) {
        return null;
    }

    @Override
    public Result getFav(int usid, int page, int size) {
        return null;
    }

    @Override
    public Result addEvaluate(int usid, int aid,int status) {
        return null;
    }

    @Override
    public Result delEvaluate(int usid, int aid,int status) {
        return null;
    }

    @Override
    public Result selectEvaluate(int usid, int aid) {
        return null;
    }

    public void setArticles(Result articles) {
        this.articles = articles;
    }
    public void setTypeinfoList(List<Typeinfo> typeinfoList) {
        this.typeinfoList = typeinfoList;
    }

}
